package com.pro.common.modules.service.dependencies.config;


import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.pro.framework.json.service.JsonService;
import com.pro.framework.json.util.ObjectMapperBuilder;
import org.springframework.stereotype.Service;

@Service
public class JsonServiceUnderline extends JsonService {

    public JsonServiceUnderline() {
        super(ObjectMapperBuilder.buildObjectMapper());
        getObjectMapper().setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE);
    }
}
